//
//  GJTempInfoModel.h
//  YDGJ
//
//  Created by 黄卫 on 17/2/24.
//  Copyright © 2017年 huangwei. All rights reserved.
//

#import <Foundation/Foundation.h>
@class GJShopDetailModel;

/**
 *  临时页面缓存数据
 */
@interface TYTempInfoModel : NSObject


/** userID */
@property (nonatomic, strong) NSString *userID;

/** 证件选择临时缓存*/
@property(nonatomic,strong)NSArray<NSDictionary *> *tempCerModelArr;

/** 是否三证合一*/
@property(nonatomic,assign)BOOL isThresCer;

/** 店铺经营者与营业执照法人一致*/
@property(nonatomic,assign)int shopManagerIsCorporate;

/** 店铺详情信息 */
@property (nonatomic, strong) GJShopDetailModel *shopDetailModel;


#pragma mark -================ 操作临时缓存信息, 增删查改 ================

/**
 *  添加临时缓存信息Model到单例
 */
+ (void)addTempInfoModel:(TYTempInfoModel *)tempInfoModel;

/**
 *  根据UserID从单例移除临时缓存信息Model
 *
 *  @return 移除
 */
+ (BOOL)removeTempInfoModelByUserID:(NSString *)infoModelUserID;

/**
 *  根据UserID获取临时缓存信息Model
 */
+ (TYTempInfoModel *)getTempInfoModelByUserID:(NSString *)infoModelUserID;

/**
 *  修改临时缓存信息Model
 */
+ (void)updateTempInfoModel:(TYTempInfoModel *)tempInfoModel;

@end
